﻿using Microsoft.AspNetCore.Mvc;

namespace GeneralDutyRoomSystem.Controllers
{
    public class MainController : Controller
    {

        private readonly SqlSugar.ISqlSugarClient db;

        public MainController(SqlSugar.ISqlSugarClient _db)
        {
            this.db = _db;
        }

        public IActionResult Index()
        {
            db.DbFirst.CreateClassFile("E:\\Learn\\短训\\.NET\\.NET Core\\源码\\值班室管理系统\\GeneralDutyRoomSystem\\GeneralDutyRoomSystem\\Models", "GeneralDutyRoomSystem.Models");
            return View();
        }
    }
}
